package org.dromara.iot.enums;

import lombok.Getter;

/**
 * 电梯状态
 */
@Getter
public enum ElevatorStatusEnum {
    /**
     * 正常
     */
    NORMAL("1", "正常"),
    /**
     * 故障
     */
    FAULT("2", "故障"),
    /**
     * 维修中
     */
    REPAIR("3", "维修中"),
    /**
     * 离线
     */
    OFFLINE("4", "离线");
    String code;
    String desc;

    ElevatorStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
